package com.service;

import com.entity.*;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

//1
public interface AdminBookService {
    List<BookType> getBookType();

    PageResult getBookDetail(QueryPageBean queryPageBean, HttpServletRequest request);

    Books getBookById(Integer bNo, HttpServletRequest request);

    void updateBook(Books book);


    List<BorrowBooks> getBorrowers(Integer bNo);

    void deleteBook(Integer bNo);

    Result addBook(Books book);
}
